//
//  KefWebViewController.m
//  何五路
//
//  Created by _ADY on 15/9/7.
//  Copyright (c) 2015年 _ADY. All rights reserved.
//

#import "KefWebViewController.h"

@interface KefWebViewController ()

@end

@implementation KefWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor =bgColor;
    self.title = @"客服";
    
    mWebView = [[UIWebView alloc] initWithFrame:self.view.frame];
    mWebView.backgroundColor = [UIColor whiteColor];
//    mWebView.delegate = self;
    mWebView.dataDetectorTypes = UIDataDetectorTypeNone;
    [self.view addSubview:mWebView];
    [mWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[kefUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]]];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
